<template>
	<view id="apps">
		
		
		
		<!-- form -->
		<view class="form">
			<view class="form_item">
				<text>商家账号</text>
				<input type="text" placeholder="请输入账号" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>账户密码</text>
				<input type="text" placeholder="6-20位数字+字母或符号组合" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>联系方式</text>
				<input type="text" placeholder="请输入手机号" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>验证码</text>
				<text class="yzm">获取验证码</text>
				<input type="text" placeholder="请输入验证码" placeholder-class="placeholder">
			</view>
		</view>
		
		
		
		<!-- form -->
		<view class="form">
			<view class="form_item">
				<text>店铺名称</text>
				<input type="text" placeholder="请输入店铺名称" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>店铺名称</text>
				<input type="text" placeholder="请输入店铺名称" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>省市区</text>
				<input type="text" placeholder="请选择" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>店铺地址</text>
				<input type="text" placeholder="请输入地址" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>客服电话</text>
				<input type="text" placeholder="请输入联系方式" placeholder-class="placeholder">
			</view>
			
			
			<!-- 上传图片 -->
			<view class="addimg">
				<view class="item">
					<text>Logo</text>
					<view class="box">
						<image src="../../static/images/add.png" mode="widthFix"></image>
					</view>
				</view>
				<view class="item">
					<text>店铺背景图</text>
					<view class="box">
						<image src="../../static/images/add.png" mode="widthFix"></image>
					</view>
				</view>
			</view>
			
			
			<!-- 须知 -->
			<view class="ckbox">
				<label>
					<checkbox value="cb" checked="true" />
					<!-- <text class="ck"></text> -->
				</label>
				<view class="copyright">
					<text>已阅读并同意</text>
					<text class="link">《入驻政策》</text>
					<text>和</text>
					<text class="link">《服务条款》</text>
				</view>
			</view>
			
			
		</view>
				
				
				
		<!-- btns -->
		<view class="btns">
			<button class="active">提交审核</button>
			<!-- <button>提交审核</button> -->
		</view>
				
				
				
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">

	page{
		background: #F3F3F3;
	}
	
	#apps{

		display: flex;
		flex-direction: column;
		
		// form
		.form{
			background: #fff;
			border-radius: 20px;
			margin: 34rpx 34rpx 0 34rpx;
			box-sizing: border-box;
			padding: 40rpx;
			
			.form_item{
				display: flex;
				align-items: center;
				justify-content: space-between;
				height: 88rpx;
				line-height: 88rpx;
				position: relative;
				border-bottom: 1px rgba(153, 153, 153, .2) solid;
				text{
					font-size: 28rpx;
					color: #333;
					font-weight: bold;
					width: 120rpx;
				}
				.placeholder{
					font-size: 28rpx;
					color: #999;
				}
				.yzm{
					position: absolute;
					top: 0;
					bottom: 0;
					right: 0;
					margin: auto;
					color: $index_color;
					width: auto;
				}
				input{
					height: 88rpx;
					line-height: 88rpx;
					flex: 1;
					padding: 0 16rpx 0 48rpx;
				}
			}
			
		}
		
		
		
		// 须知
		.ckbox{
			padding: 20rpx 0;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			text{
				font-size: 22rpx;
				color: #999;
				&.link{
					color: $index_color;
				}
			}
		
			
			/deep/ .uni-checkbox-input{
				width: 28rpx;
				height: 29rpx;
				border: 1px #d5d5d5 solid;
				border-radius: 100px;
				display: inline-block;
				position: relative;
				&.uni-checkbox-input-checked::before{
					content: '';
					border: 2px $index_color solid;
					width: 20rpx;
					height: 40rpx;
					display: inline-block;
					transform: rotate(45deg);
					border-top: 0;
					border-left: 0;
					position: absolute;
					left: 10rpx;
					top: -80%;
				}
			}
				
		
		}
		
		
		// 上传图片
		.addimg{
			display: flex;
			align-items: center;
			padding: 20rpx 0;
			box-sizing: border-box;
			.item{
				margin-right: 10%;
				text{
					font-size: 28rpx;
					color: #333;
					font-weight: bold;
					margin-bottom: 20rpx;
					display: block;
					
				}
				.box{
					background: #F3F3F3;
					width: 140rpx;
					height: 140rpx;
					border-radius: 20rpx;
					display: flex;
					align-items: center;
					justify-content: center;
					image{
						width: 36rpx;
						height: auto;
					}
				}
			}
		}
		
		
		// btns
		.btns{
			margin: 40rpx 0;
			padding: 0 90rpx;
			box-sizing: border-box;
			
			button{
				background: #DE4335;
				box-shadow: 0px 6rpx 12rpx rgba(222, 67, 53, 0.5);
				opacity: 1;
				border-radius: 44rpx;
				margin-bottom: 40rpx;
				color: #fff;
				font-weight: 36rpx;
				
				&.gray{
				background: #f6f6f6!important;
				box-shadow: 0px 6rpx 12rpx rgba(246, 246, 246, 0.5);
				color: #333;
				}
				
				&::after{
					border: 0;
				}
				&:hover{
					opacity: .9;
				}
				&.active{
					opacity: .5;
				}
				
			}
			
		}
		
		
	}
	

</style>
